debug the CSP code, include CSP source code and test code