minor update to zGetPOP function