fix css timing