fix internalelements range