bug fix on indexing last character before cursor on functions isLastCharSadis isLastCharGeez isLastCharKei