clean up purchases page. make table