check that we have a proper message