Fix a bug that YUI module isn't added correctly.