ios syntax error fix