fixed require shim bug