fixed for/range