Replace 'error' to 'fail'