minor cleanup of inspector.