remove unnecessary content