fix finding new message logic