bug correction in posterior ananlysis if no logitic regression selected