fix string_endsWith