fix ptsend, fix framerate