fix media query bug