fix three way binding