fix error with dump type