fix bug on majinfo