fixed function send to next