Discussion morefixes

two minor bug fixes to discussion