fixed hide/show of message field