errors now catch correctly