Fixes problem with using .error