public address now encoded correctly