Fixed coding style and spell miss.