Fixing dump config code