page media classes fix