remove old code from build