Fixed error in processLine