Fix commit hook