caught bug in controller