some nice fixes for ios..