clean up old code.