fix bug in Rocchio