nevertheless the bagler launched a surprise attack by night