added alert when put fails