added version to bgcorr