remove unused variable
fix typo in phpdoc