fix input created when there is already existing empty input