fixing validating addresses