fix the bug that does not read config.yaml (#3)