Added name == main check.