Fix context binding for duplicate