restore contexts in lines page