fixed log new line error