changed the uid and keyfield form index to use the element_name string to fix the scramble bug