add open_switches option to enumerate() for checking false positive