fixing region variable
Merge pull request #947 from edx/han/sendlogstos3

fixing region variable