remove braindead code