fix exception for uninitialized constant for using spree namespace