fix trying to access the storage from the background page