fix bug: toCSS fail will block build process