fixed lwrp to pass integration test