submit purchases, fix issue with enter