add path and rect into void elements list