fix bug that themes/layouts ended with 't' can't use
updated