fix cachier saving local data in cache