remove custom agent