Fix error on nslog