fix localforage return data