fixed type in exit warning