fixes to deploy