add filter to replace the content