removes bottling calls from preview() in IDE