flag theme fix