fix cap deploy config