fix tryRequire