duplicate log changed to debug