fixing xml issue and list