bugfix on tek view