syntax error fix for slides