fix xml error and codings