fixes for ios7