fix up cap deploy