Fixed numpy error