fix sql crash. fix note header. remove empty list text