bug maintenance mode controller