cleaning up preview image