reg controller fix