fix wrong field into types view