now it accepts refs with same name, and refs container will be an array in that case