fix play and stop bug