minor fixes to controllers