Bug fix on CodeInspector