fixing cap deploy