adding support for spree 1.3