fix deployment issues