diff --git a/packages/00common/src/puzzles.cgi.c b/packages/00common/src/puzzles.cgi.c
index 2408fd7..be7a8e8 100644
--- a/packages/00common/src/puzzles.cgi.c
+++ b/packages/00common/src/puzzles.cgi.c
@@ -133,10 +133,10 @@ main(int argc, char *argv[])
long points;
read_until_char(map, points_str, sizeof(points_str), ' ');
- read_until_char(map, cat, sizeof(cat), '\n');
- points = atol(hash);
+ read_until_char(map, hash, sizeof(hash), '\n');
+ points = atol(points_str);
- printf(" %ld\n", cat, points, points);
+ printf(" %ld\n", hash, points);
if (points > maxpoints) break;
}