fix for deserializing regions