get prev msgs