fixes logging of np