add db convert compatibility