fix run_local through ssh