remove unnecessary closePath