fix post-commit hooks