Fixes syntax error in sample