added cleanup function for rss platform