cleans the workflow controller