small fixes to controllers