fix cap deploy