fixes #369 - added support for field attribute type