fix bug in controller resets