Added BE error handling