Fix for fouc