removed double $wmdPreview