changed yaml parser