treat warnings as errors

fix some xml errors