Fix maint mode