Fix message detection in marker not working.