fixed typo in characterOk that allows previous 4.7 workaround to be removed