post-training wrap-up and broken xml fix