csp - fix memory leak