fix onplaying event