fix pause button getting out of sync