fix list bug in sendFrame