fixed compatibility with older numpy
prep for upload