patch for Inspector.h

Add comments for Inspector:add. And fix one spelling mistake