fix "NoMethodError occurred in checkout#update: undefined method 'calculator' for nil:NilClass"