Fixed the initialization of the workingInput