fixed saving a message