Fix empty input initialization