Fixed iOS warnings