fix cli tool