work with poor indexedDB browsers #404