fix for spree 2.2