remove un-used fields