catch error if controllerViewModel is not assigned