fix parser error and deal w/ default poller if not config file