fixed broken naming system of output elements, using new capture line for id type, #31