fixing exceptional file_id first bug