commit hook fixes