fix some phpcs errors