standardize local and remote