making the content_filter work properly with functions >.<