fixed server issue for put