fixed dzportfolio closure compilation error