fix bug with play plugin