fixing creationg of citations and notes