Fix formfield check