changes to get it working with inspector
verison 1.8.1