Fix

Fix a big bug in code.py, an incorrect operation in XML.