fix for spree 2.1