fixes for deployment on VM