fixed regression from recently added tdim checks