fixed crash if no content controller provided