fixes bug with displaying check message