fixed small bug in noMallet.scala