removing unwanted enum values