fix some phpcs issues