commit changes for error handling