fixed log issue's