making it work with spree 1.2