fix bug for long inner message