extra checks to fix notice messages
extra check for flashVars array