fix crash in wbb3 format