fixes for deployment