Fix parametrization of remotes.