aded some logging to help pin down  lost changes