notes sec bug fix