fixing branch error when creating new one