calling inspect when sending result

fixes #18 fixes #19