cleanup after conversion