fixes for deployment in jenkins