woops the error handling