minor ios fixes