More accurate bb code fix