fix runtime error for config framework