ui optimizations