fix cli throwing