fix bug preview image