make sure exit is fixed