fix for nil ViewController