CFY-143 added yaml field printing on errors, fixed some bugs