fix per page media option problem