removes code from campaigns view