fix bugs in labnotes