fix numpy call