Fix bug of inspect ResultType