syntax error fix

Jira Issue: WP-1252