fixed a bug which cannot display a thumbnail image