reg controller fixes