fix eminfo main to avoid error complain