change api type return