fixed the pre-commit git hook