adding apps_controller patch