corrected recording of input thread