RefName: support refs/notes
fixed extra semicolon warning