adapt error handling