troubleshoot CTE not working