fixes in todo.cpp
wdump take argument