fix slim syntax error