Fix import bugs in Input file.