better error message when passing an invalid viewModel to bind