Fix getline to ngetline