added option to ignore incorrect zero pointers