Added debugging message but still can't fix the saving issue.