fixing for spree 2.4