fix paren issue in if simcfg check