remove invalid requirements