fixed return value of dumpResult