fix directory syntax error, add filter to wysiwyg