remove bogus stuff