fixed log output