fix config getter