fixed use of pause in other modules