fixed issue where peas didnt work in wysiwyg