fix compatibilty between han.js and project design