small exit fix