fix boyer-moore wrongly showing colors when only the first character is off