commit before changing url