check previous message