fix range flatten