Use remote() instead of remotes[0]