Some error cases were handled