remove unuseful variable remote_path