Fix typo and messed up code formating.