fixed build process errors