bugfix (possibly) in yabee writer