fixed exit that did not belong there