fix set after tset bug