remove unnecessary page elements