fixed error with knockout binding.