make safe to run in preview