remove non-required stuff