ugly hack to disable tk