correcting DB ext if pre gzip used