[sr-dev] looks like branch flags get corrupted