Fixing dimension evaluation issue.