added fence so that editor also runs without debug libs