fix build process