fixed exception caused by undefined fields passed to wstable