truncate binding id if exceeds 17