remove redundant checking of pause variable