fix deploy validation