Note bug fix