fixing data binding