fixed message log overflow issue