moved event tm:refresh at end of refresh pull #111