Copy List Stucture

Hello, I need to fit his list strutures to assign a serial number to a device per level and per another custom value. But Im having a problem because my list values arent fitting. How can I fix this? Thanks

I already solved it, thanks. I haven`t used before the keep list structure tool.