fixed log name bug