adding support for spree 2.3.1