added check whether sandboxed lib