remove unnecressary user flags