fixed memory leak in PDPModel
fixed memory leak in BoxRenderer