dataset typing, XML comment bug fix