fix syntax error for checkout controller