better error handling on saveitem fail