Fix number field size and remove incorrect attributes

Signed-off-by: Marc Delisle <marc@infomarc.info>
Incorrect attributes for number fields

Signed-off-by: Marc Delisle <marc@infomarc.info>