chatbar code split