add flag, fix some bugs
Merge pull request #46 from dmitryshilin/countries

add flag, fix some bugs