fixing return 0 to exit 0.