Edit type attribute number fix