added logging information and remember country box