fixed typo on error handler for merge5