fixes for inspector