fix bugs with phpcs