fixed bug with the field from