fix bug in labnotes material use logging