fixed log function