fix errors while processing the min variance
API points