removes extras