fixed bug with setting on pause