fix lwp