fix bug on binding data with repeat grammar