publish message check

Some UI improvement