Fixed rootViewController issue