prevents previewing