Fixed api return.