Error checking what i fucked up in memory