Fixing some compilation errors
modified input file