fixed problem with csp