done reducer error handling