remove syntax error in index