remove redundant local/remote label