fixes to multiple stores per study