fix for fieldtype error