fixed message key bug