minor error handling change