remove unnecessary unroll_safe