remove some errors in console when building, fix #9