fix isplaying api issue