small changes to controllers