fixed interpolation for error baars