rootViewController bug fixed