bug in class spree