Reset flag classes to base before reloading