Fix for setting region in the cookie