some mobile optimizations