fixed the media quiry