fixed some xml errors but things still broken