fix modifiers of controller methods