fixing the cap deploy