fix for bbcode parser