Fix bad input when started at boot time