small fix for sign inclusion in correlation