before manipulate context path