compatibility with spree 2