fix bug language
change api type return