(cleanup) cleans up unnecessary injections