debug .corrected pattern