fixed pause button bugs