fixed the bug that Del & Put dont return correct error messages