fixed idToClosed