[builder] changed a few delegate methods + placeholder api
[builder] calculate matching placeholder values indexes