Fix address get locality fail issue