fixed set blend function