more minor fixes to all files