work yaml based site config, issues: #5 and #22