fix the build and deployment