added np.character buffer length