change pause behaviour