remove classes not in post