disable dump func