fix: config and logging