fixed media queries and notification bug