fix remote commands