add logging to reloadDoneCallback