Fixed PUT bug