fix to logs