Corrected some codes typo errors