Fix warning
Fix bug for delete/backward in the end, out of range