[upd] localization of fields
[fix] type declarations