Fix bug of choked when read image from cache;