remove garbage log code