bugfixes in tek module