Apply fix for TiInspector

Applied the fix for TiInspector provided by @julio6114 in issue #31