correctly check for empty country