some pre commit rules