fixbug: imagepreview