fix polling, fix db/config.yml location.