tfshow changes and bugfix