better checking for local clients.