minor corrections to make sure addresses are in the same format