fixed yaml load bug