fix duplicate log