fixes #1294
Merge pull request #1296 from mdogan/fix/3.2/issue-1294

fixes #1294