Fixed new input form bug