sending errors to the callback function in merge