Fixed pre-commit hooks