minor fix to tcustom