fix a bug for anonymous users when trying to make an order