fix memory leak by Paracel