fixing flash of unstyled content