fixed commit hooks setup