fix  depolyment issues