fix for checkout controller