fix permissions
direct corrQ calculation