small patch to the addAttr management, it wasn't supporting min,max in the edit setups