got L and P messages but also infinite loop