fixed batch type conversion with ssh mode