fixed buggy message panel