added check for non-supported flags