arg cleanup