better yaml config error msgs, fix #15

- check yaml path var