fix sandboxeed checking