fix unwanted branch after prev commit