clean up open_moreinfo code