added error message for all the media querie.