fix rn-foreach reference bug