fixing PHPDoc and spelling