fix bug when onlylogLR=TRUE (to print pi.s)