fixed the scaling in preview