Fix data binding and compile error