fixed log import