fix shared stores (stupid prototypes)