fix build process and build