small fix of pause check