fix pre-commit hook