changing behavior of indexeddatareder.