clean up unused legacy variable