clean up unneeded code