Fixed branch char detection