fix exception handling bug in void api