deleting unnecessary content