elegant xml
fix comment issue and crash problem