fix pause and play pbg