Fix initial undefined state of input quantities