Ios warning fixes