Fix views issue: wrong name type