Handle error better.