changed 'any' flag and added 'every' flag as old 'any' flag.