clean up unneeded code.