more warnings fixed on ios