proper return code and debugging for note stats save