fixing print if widget running for too long.