fix some references for deployment