fixing preview removing strings