More logging
Ref bug