fix memory release bug