fix config resolution