Fix to scanning log