fixing smal bugs in myTerm online demo