image preview bug fixed