remove LCP-specific codes