check for null client