fix bug on plain types

#### Reviewers
@jframos @flopezag

#### Description
FIX bug on plain types

#### Test
tested locally