make it works with spree 1.3.x