Fix Error Unable to call the listener: ReferenceError: inspect is not defined