replace numpy.float -> numpy.float32