added cap for open extrusions