Prevent overflow of attributes