Fixed client.save() bug