fix address with old db schema