Fix the duplicate log