succesfully tested fix for check country API