remove agent and common libraries.