fix get empty regions