fixed read blendfunc