fixing variable access
Merge pull request #4 from gcmalloc/output_corr

fixing variable access