bugfix for changing data storage