fixed issue with ImageFieldType #285