fix warning about unused id