bug on core usage. when cores used is 0 , pxmap fails