inspector layout optimizations