bug17361 : use local_id instead of lid