fixed bbcode click funstions()