Three patches for new message detection