fix bug (null terminate does not work)
change interface of BlendValue