remove bogus code