Fixed issue with viewModel on linux