Fixing syntax Errors