modified themt_base