merge the last branch