fixed code mistake with dumper