remove bad database fields