Trying to fix my early on error