fixed threading problem in dummyInput