Fixes on log