issue-6: put in some debug code to figure out what's up with post saving