fixed PUT problem