Try to prevent memory leak