fix ldp_contains broken