fix error in correlation calc in singletons