fixed the inspector