Fix for scipy version