add headers append the callback params