maintenance mode fix, maint mode bypass, and done