Fixed todo outside function comment and ascii art.
Fixed assertion when the result is not a number.