Fix deleteCharAt