fix: main() return code was eaten up and ignored