handle error paths
1.1.1