Fixed error cap deploy