fixed log path returning