precommit warnings fix