Some changes for ios