fix: removed some duplicate logging code