fix require.async bug and optimized modify function's robustness !