line count test/fix