remove dependency on tk for ut