fix an issue parsing deploy responses