fixed some issues in toxmsi and toxrtp