fix get rootviewcontroller