Fix bug on gettings fields.