allowing compatibility with spree 2.3