workaround multishared migration problem

complements b6f05d015d8686918e69082350283e073312477c