fix color xml parsing