Fix bugs in questletor.cc