fix css switch