main.c: fix and update version