bugfix: forgot to set flag info to False when going out of pause.