fixing PSD grandaverage bug