fix play and pause