fixed bug preventing message from changing