fix for preview tool
Merge pull request #832 from Connexions/preview-tool-fix

Fix for preview tool