fix xml decoder