delete unneeded code