fixed incorrect commenting of exit