fix allocate soap return values