cleaning up generated content