[minor] fix a bug causes assembly plugin error