fix: main() exit code was eaten up