Fix views type