fix maintenance mode #9