trying to fix FOUC