refactoring of yaml parameter also fix case-sensitivity #179