fixed function source & add enableNoResult

fixed function source & add enableNoResult