fix #1879

fix crash with numpy 1.5