fix nil class id while uploading tool bom data