fix pause method
todo