small fixes in inspector