Quote Originally Posted by rmmstn View Post
I managed to solve the issue. I was using fixed sizes for region and country and I think they were to small. I replaced them with dynamically allocated arrays and it's working

I think it's worth making sure what the problem was. A problem left behind, with a solution that is not understood, will often come back to bite you. That's my experience, anyway. Good luck!