refactor checks [ci skip]