change on commnet

for some old compiler, a class may fail to compile, solutions given in
the comment