fix some more bugs in supervised emission training