more rebost error handling