fix cli sys exit