fixed log method