Fixed rest syntax error