add origin before setting origin url