fixing np.pmt causing unnecessary warnings issue

this is not a fix actually, wanna close this request.