Bug in sensordatagenerator fixed