fix c sequence buffer to not be 1 byte too short