deck error handling