not crashing on empty regions