[MOD] fix range to array