fix the data binding