bugfix for store