small refactoring, added host-meta