Finally fix Log
Fix syntax errors