change fitting result return method