prevent exit 1