more scipy support fixes.