purchase menu and other fixes