fixed bug where resource notes get duplicated