Trying to fix weird bug by return exit(0).