remove a superfluous exit() call