fix config loading
fix typos