fix save_api_user